/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package dao.interfacce;

import Bean.MeasureData;
import Bean.Phenomenon;
import Bean.Vineyard;
import java.sql.ResultSet;
import java.util.Date;
import java.util.List;

/**
 *
 * @author Vincenzo
 */
public interface AgronomousDAO {

    public Vineyard infoVineyard(int v_id);
    public List<Vineyard> getAllVineyard();
    public List<MeasureData> monitoringParameters(int v_id);
    public List<MeasureData> monitoringParameters(int v_id, Date data_in, Date data_out);


    public List<Phenomenon> getAllEvents();

    public List<Phenomenon> monitoringEvents(int v_id);
    public List<Phenomenon> monitoringEvents(int v_id, Date data_in, Date data_out);

    public void storeVineyard(Vineyard vineyard);
    public void storeVineyard(Vineyard vineyard, List<MeasureData> sensorParameter);// sei pazzo? :D
}
